<<<<<<< HEAD
package com.car.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface UserServlet{
	
	/**
	 * 用户注册
	 */
	public String regist(HttpServletRequest request, HttpServletResponse response);
	
	/**
	 * 用户登录
	 */
	public String login(HttpServletRequest request, HttpServletResponse response);
	
	/**
	 * 修改自己的信息
	 * @param request
	 * @param response
	 * @return
	 */
	public String modifyUser(HttpServletRequest request, HttpServletResponse response);
	
	/**
	 * 查看车辆
	 */
	public String showCar(HttpServletRequest request, HttpServletResponse response);
	
	/**
	 * 查看司机
	 */
	public String showDriver(HttpServletRequest request, HttpServletResponse response);
	
	/**
	 * 租车
	 * @param request
	 * @param response
	 * @return
	 */
	public String rentCar(HttpServletRequest request, HttpServletResponse response);
	
	/**
	 * 租司机
	 * @param request
	 * @param response
	 * @return
	 */
	public String rentDriver(HttpServletRequest request, HttpServletResponse response);
	
	/**
	 * 归还车辆
	 */
	public String returnCar(HttpServletRequest request, HttpServletResponse response);
	
	/**
	 * 归还司机
	 */
	public String returnDriver(HttpServletRequest request, HttpServletResponse response);

	/**
	 * 查看自己订单
	 */
	public String showOrder(HttpServletRequest request, HttpServletResponse response);
	
	/**
	 * 删除自己的订单
	 */
	public String delOrder(HttpServletRequest request, HttpServletResponse response);

}
=======
package com.car.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface UserServlet{
	
	/**
	 * 用户注册
	 */
	public String regist(HttpServletRequest request, HttpServletResponse response);
	
	/**
	 * 用户登录
	 */
	public String login(HttpServletRequest request, HttpServletResponse response);
	
	/**
	 * 修改自己的信息
	 * @param request
	 * @param response
	 * @return
	 */
	public String modifyUser(HttpServletRequest request, HttpServletResponse response);
	
	/**
	 * 查看车辆
	 */
	public String showCar(HttpServletRequest request, HttpServletResponse response);
	
	/**
	 * 查看司机
	 */
	public String showDriver(HttpServletRequest request, HttpServletResponse response);
	
	/**
	 * 租车
	 * @param request
	 * @param response
	 * @return
	 */
	public String rentCar(HttpServletRequest request, HttpServletResponse response);
	
	/**
	 * 租司机
	 * @param request
	 * @param response
	 * @return
	 */
	public String rentDriver(HttpServletRequest request, HttpServletResponse response);
	
	/**
	 * 归还车辆
	 */
	public String returnCar(HttpServletRequest request, HttpServletResponse response);
	
	/**
	 * 归还司机
	 */
	public String returnDriver(HttpServletRequest request, HttpServletResponse response);

	/**
	 * 查看自己订单
	 */
	public String showOrder(HttpServletRequest request, HttpServletResponse response);
	
	/**
	 * 删除自己的订单
	 */
	public String delOrder(HttpServletRequest request, HttpServletResponse response);

}
>>>>>>> branch 'master' of https://gitee.com/kangdg/car.git
